home *** CD-ROM | disk | FTP | other *** search
/ Night Owl 6 / Night Owl's Shareware - PDSI-006 - Night Owl Corp (1990).iso / 001a / robo40_a.zip / WCRELAY.RS < prev    next >
Text File  |  1992-02-12  |  1KB  |  56 lines

  1. TITLE "PCRelay Mail run for Wildcat!"
  2. ;
  3. ; To use this script, make sure your defined file download protocol is either
  4. ; Robocomm's internal Zmodem or an external Zmodem batch call.
  5. ;
  6. ; You need to replace all occurences of text between angle brackets <> with
  7. ; information specific to your setup.
  8. ;
  9.  
  10.     PARAMETER 1 "Enter the PCRelay door #"
  11.     PARAMETER 2 "Enter the door password (optional)"
  12.     PARAMETER 3 "Enter the path\name of the OUT file"
  13.     PARAMETER 4 "Enter the desired location of IN.RLY"
  14.  
  15.     WHEN "-PAUSE-" SEND "|"
  16.     WHEN "CONTINUE" SEND "|"
  17.     WHEN "FILE MENU:" SEND "Q|"
  18.     WHEN "MESSAGE MENU:" SEND "Q|"
  19.     WHEN "MAIN MENU:" SEND "D|"
  20.  
  21.     WAITFOR "ENTER DOOR NUMBER"
  22.     
  23.     ; Send the door number
  24.     SEND "%P1%|"
  25.  
  26.     ; Send the password if one was eneterd.
  27.     IF NOT EMPTY "%P2%" SEND "%P2%|"
  28.  
  29.     CLEAR WATCHES
  30.  
  31.     ; Watch for part of the Zmodem header
  32.     WAITFOR "*"
  33.  
  34.     ; Set the timeout value on the next line to however many seconds you think
  35.     ; it might take for the BBS to start sending your packet:
  36.     TIMEOUT 360
  37.  
  38.     ; Send the packet via internal Zmodem
  39.     UPLOAD "%3" USING "ZMODEM"
  40.  
  41.     SEND "|"
  42.  
  43.     ; Wait for the door to start sending the messages
  44.     WAITFOR "*"
  45.  
  46.     ; Receive your in.rly
  47.     DOWNLOAD "%4" USING "ZMODEM"
  48.  
  49.     WHEN "-PAUSE-" SEND "|"
  50.     WHEN "CONTINUE" SEND "|"
  51.     WHEN "DOOR NUMBER" SEND "|"
  52.  
  53.     WAITFOR "MAIN MENU"
  54.  
  55. EXIT 0
  56.